<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">

<h:head>
	<title>Central de Estagio Aluno</title>
        <link rel="StyleSheet" type="text/css" href="#{facesContext.externalContext.requestContextPath}/css/estilo.css" media="screen" />
        <link type="text/css" rel="stylesheet" href="#{facesContext.externalContext.requestContextPath}/css/tema/theme.css"/>
</h:head> 
<body> 
  <h:form>
		<div align="center">

			<p:panelGrid id="gridCurso" styleClass="semBorda">
			<f:facet name="header">
	   		       <p:row>
               			<p:column colspan="2" style="width:100% font-size:18px"> ALTERAÇÃO DE CBO</p:column>
           	   	    <br/>
	   		        <br/>
           	   	    </p:row>  
	   		    </f:facet>	   	
			<p:row>
					<p:column colspan="2" style="width:50% font-size:8px">Grande Família</p:column>
				</p:row>
				<p:row>
					<p:column colspan="2">
						<p:inputText id="cdCBO" value="#{MBCbo.beanCBO.codCBO}"
							size="20" required="true"
							requiredMessage="Campo de preenchimento obrigatório!" />
						<p:message for="cdCBO" />
					</p:column>
				</p:row>
			
			
			
			<p:row>
					<p:column colspan="2" style="width:50% font-size:8px">Descrição do CBO</p:column>
				</p:row>
				<p:row>
					<p:column colspan="2">
						<p:inputText id="descCBO"
							value="#{MBCbo.beanCBO.descCBO}" size="60"
							required="true"
							requiredMessage="Campo de preenchimento obrigatório!" />
						<p:message for="descCBO" />
					</p:column>
				</p:row>
			
			</p:panelGrid>
			
			<p:commandButton id="cbtAlterar" value="Alterar"
					action="#{MBCbo.update}" icon="ui-icon-pencil" />

		 </div>
  </h:form>

</body> 
</html>
